;
; idt.s
; function to create IDT
; Tan Menglong <TanMenglong@gmail.com>
; 13-Apr-08
;

[GLOBAL flush_idt]

flush_idt:
    mov eax, [esp+4]  ; Get the pointer to the IDT, passed as a parameter. 
    lidt [eax]        ; Load the IDT pointer.
    ret
